package cn.boyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author yn
 * @since 2022-11-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Gather implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 终端编号
     */
    private Long terminalId;

    /**
     * 终端名称
     */
    private String terminalName;

    /**
     * 安装地址
     */
    private String installAddr;

    /**
     * SIM卡号
     */
    private String simCard;

    /**
     * 接表数量
     */
    private Integer ammeterNumber;

    @TableField(exist = false)
    private AssetsTerminal Terminal;
}
